#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
int main()
{
	int line =7;
	for (int i = 0; i < line; i++)
	{
		for (int j = 0; j <line-i-1; j++)
		{
			printf(" ");
		}
		for (int j = 0; j < i*2+1; j++)
		{
			printf("*");
		}
		printf("\n");
	}
	for (int i = 0; i < line - 1; i++)
	{
		for (int  j= 0; j<i + 1;j ++)
		{
			printf(" ");
		}
		for (int j = 0; j < (line -2-i)*2+1; j++)
		{
			printf("*");
		}
		printf("\n");
	}

	return 0;
}